﻿namespace StockMonitor
{
    /// <summary>
    /// 枚举类
    /// </summary>
    /// <remarks>
    /// 代码编写：<author>LANCEZHANG-PC\zhangxl</author><br/>
    /// 编写时间：<datetime>2012-10-16 4:47 PM</datetime>
    /// </remarks>
    public class Enums
    {
        /// <summary>
        /// 买/卖/附加 信号
        /// </summary>
        /// <remarks>
        /// 代码编写：<author>LANCEZHANG-PC\zhangxl</author><br/>
        /// 编写时间：<datetime>2012-10-16 4:45 PM</datetime>
        /// </remarks>
        public enum Signal : int
        {
            SellWithAppend = -3,
            SellAppend = -2,
            Sell = -1,
            None = 0,
            Buy = 1,
            BuyAppend = 2,
            BuyWithAppend = 3
        }

        /// <summary>
        /// 禁用/启用
        /// </summary>
        /// <remarks>
        /// 代码编写：<author>LANCEZHANG-PC\zhangxl</author><br/>
        /// 编写时间：<datetime>2012-10-16 4:46 PM</datetime>
        /// </remarks>
        public enum EnabledType : uint
        {
            禁用 = 0,
            启用 = 1
        }

        /// <summary>
        /// 10档价格
        /// </summary>
        /// <remarks>
        /// 代码编写：<author>LANCEZHANG-PC\zhangxl</author><br/>
        /// 编写时间：<datetime>2012-10-16 4:46 PM</datetime>
        /// </remarks>
        public enum PriceType : int
        {
            未设置 = 0,
            买一 = 1,
            买二 = 2,
            买三 = 3,
            买四 = 4,
            买五 = 5,
            卖一 = -1,
            卖二 = -2,
            卖三 = -3,
            卖四 = -4,
            卖五 = -5
        }

        /// <summary>
        /// 技术指标类型
        /// </summary>
        /// <remarks>
        /// 代码编写：<author>LANCEZHANG-PC\zhangxl</author><br/>
        /// 编写时间：<datetime>2012-10-16 4:46 PM</datetime>
        /// </remarks>
        public enum IndicatorType : uint
        {
            MA = 0,
            EXPMA = 1,
            MACD = 2,
            DMA = 3,
            DMI = 4,
            TRIX = 5
        }

        /// <summary>
        /// 委托所用方式
        /// </summary>
        /// <remarks>
        /// 代码编写：<author>LANCEZHANG-PC\zhangxl</author><br/>
        /// 编写时间：<datetime>2012-10-16 4:46 PM</datetime>
        /// </remarks>
        public enum OpEntrustWay : uint
        {
            自助委托 = 0,
            电话委托 = 1,
            驻留委托 = 2,
            远程委托 = 3,
            柜台委托 = 4,
            漫游委托 = 5,
            分支委托 = 6,
            Internet委托 = 7
        }

        /// <summary>
        /// 委托状态
        /// </summary>
        public enum EntrustStatus
        {
            未报 = 0,
            已报 = 2,
            已报待撤 = 3,
            部成待撤 = 4,
            部撤 = 5,
            已撤 = 6,
            部成 = 7,
            已成 = 8,
            废单 = 9
        }

        /// <summary>
        /// 货币类型
        /// </summary>
        /// <remarks>
        /// 代码编写：<author>LANCEZHANG-PC\zhangxl</author><br/>
        /// 编写时间：<datetime>2012-10-16 4:47 PM</datetime>
        /// </remarks>
        public enum MoneyType
        {
            人民币 = 0,
            美圆 = 1,
            港币 = 2
        }

       

        /// <summary>
        /// 委托类别
        /// </summary>
        public enum EntrustType
        {
            买卖 = 0,
            查询 = 1,
            撤单 = 2,
            补单 = 3
        }
    }
}
